﻿@{
    Layout = "../Shared/_LayoutMain.cshtml";
    var id = ViewBag.id;
    var article = HttpHelper.Get<NewsInfo>($"/News/GetNewsInfo?ID={id}", false);
    ViewBag.PageTitle = article?.news.Title;
    ViewBag.PageKeyword = article?.news.KeyBoard;
    ViewBag.PageDescription = article?.news.SmallText;
}
<style>
    nav#main-navigation {
        position: relative;
        margin-bottom: 0;
    }

    #main-navigation .nav > li > a {
        color: #464646;
        padding: 21px 15px;
    }

    a.logo {
        background: url(/main/images/logo.png) no-repeat;
        background-size: contain;
    }

    #main-navigation .nav-pills > li.active > a::after {
        top: 50px;
    }
</style>
<div class="clearfix swiper" style="background-image:url(/main/images/banner3.png);
	background-repeat:no-repeat ;
	background-position: center;
	height: 200px;
	">
    <div class="container">
        <div class="banner3">
            <h3 id="News_Category">常见问题</h3>
        </div>
    </div>
</div>
<div style="background: #F6F8FB;">
    <div class="container">
        <!-- 面包屑导航 -->
        <ul class="breadcrumb row">
            <span>您的位置：</span>
            <li><a href="/">首页</a><span class="divider"></span></li>
            <li><a class="divider" href="#" id="Breadcrumb_Category">常见问题</a></li>
        </ul>
    </div>
</div>
<div class="container">
    <div class="row">
        <div class="col-md-12">
            <div class="article-title" id="News_Title">
                <h2>@article?.news.Title</h2>
                <h5>
                    <span>发布时间：@article.news.AddTime.ToString6()</span>
                    <span>作者：@article?.news.Author</span>
                </h5>
            </div>
        </div>
        <div class="lead article-text" id="News_Content">
            @Html.Raw(article?.newsdata.NewsText)
        </div>
    </div>
</div>
@section Scripts{
    <script type="text/javascript">
     
    </script>
}